package wa.tools;

public class WaCli {

	private String[] args;
	private WaCliImpl impl;
	
	public WaCli(String[] args, WaCliImpl impl){
		this.args = args;
		this.impl = impl;
	}

	public void execute () {
		
		impl.init(args);
		impl.process();
		impl.destroy();
	}
	
	public static void main(String[] args) {
		WaCliImpl impl = new WaCliImpl();
		WaCli cli = new WaCli(args,impl);
		cli.execute();
	}
}
